@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";
@import "./font.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: PingFang SC, Microsoft YaHei, Helvetica Neue, Helvetica,
    Hiragino Sans GB, Arial, sans-serif;
    overflow: hidden;
      // fix css style bug in open el-dialog
  &.el-popup-parent--hidden {
    padding-right: 0 !important;
  }
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.modal-open{
  height: 100%;
  overflow: hidden;
}
#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
p{
  padding: 0;
  margin: 0;
}
div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}
.text-left{
  text-align: left;
}
.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.bs {
  margin: 25px;
  padding:24px 16px;
  // box-shadow: 0px 0px 14px 0px rgba(158, 158, 163, 0.17);
  background-color: #fff;
  border-radius:2px;
}

.shadow-title {
  z-index: 1;
  display: inline-block;
  position: relative;
  padding: 0 5px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
  &::after {
    z-index: -1;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(215, 224, 255, 1);
  }
}
.filter-input {
  background:rgba(0,0,0,0.02);
  padding: 24px 16px;
  .el-select{
    width: 100%;
  }
  .price {
    .el-input {
      width: 39.6%;
      margin-right: 5px;
      &:first-child{
        margin-right: 5px;
      }
      &:last-child{
        margin-left: 5px;
        margin-right: 0;
      }
    }
  }
  .time {
    .el-date-editor--daterange.el-input__inner{
      width: 81%;
    }
  }
  .label-input {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    .label {
      margin-right: 8px;
      font-size: 16px;
      font-weight: 400;
      color: rgba(51, 51, 51, 1);
      word-break: keep-all;
    }
  }
  .btn-search{
    margin-left: 20px;
  }
  .el-form-item__label{
    color:rgba(0,0,0,0.65);
    font-size: 14px;
    padding: 0;
  }
  .el-form-item__content{
    line-height: 32px;
  }
}
.danger {
  color: #F56C6C;
}
.warning {
  color: #FF9500;
}
.blue{
  color:#409EFF;
}
.green-button{
  background-color: #04C1C2;
  color: #fff;
}
.title_name{
  padding: 20px 0 20px 0;
  font-weight:600;
  line-height: 22px;
  font-size: 16px;
}

.form-input{
  background-color: rgba(0,0,0,0.02);
  padding: 24px 16px 0 16px;
  margin-bottom: 20px;
}

.publicDialog{
  .el-dialog{
    .el-dialog__header{
      padding-top: 30px;
      padding-bottom: 30px;
      .el-dialog__title{
        font-size:16px;
        font-family:PingFangSC-Medium,PingFang SC;
        font-weight:500;
        color:#000;
        line-height:26px;
      }
    }
    .el-dialog__footer{
      padding-top: 30px;
    }
  }
  .purchaseDelivery{
    .el-form-item--medium .el-form-item__content{
      line-height: 30px!important;
    }
  }
}
.red-text{
  color: #F56C6C;
}
.al{
  text-align: left;
}
.table-img{
  display: flex;
  align-items: center;
  justify-content: center;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type="number"]{
    -moz-appearance: textfield;
}
